<?php foreach ($view_data as $key): ?>
		<div class="ibox float-e-margins">
			<div class="ibox-title" style="border: none;">
				<h5 style="color: #00afef"><i>View</i></h5>
			</div>
			<div class="ibox-content">
				<form class="form-horizontal" id="form-forms-edit">
					<div class="form-group"> 
						<label class="col-lg-4 control-label">Code</label>
						<input type="hidden" value="<?php echo $key->form_id; ?>" name="form_id">
						<div class="col-lg-3">
							<input readonly value="<?php echo $key->form_code; ?>" name="form_code_e" type="text" class="form-control">
						</div>
					</div>
					<div class="form-group">
						<label class="col-lg-4 control-label">Name</label>
						<div class="col-lg-5"> 
							<input readonly value="<?php echo $key->form_name; ?>" type="text" name="form_name_e" class="form-control"> 
						</div> 
					</div>
					<div class="form-group"> 
						<label class="col-lg-4 control-label">Description</label>
						<div class="col-lg-5">
							<input readonly type="text" value="<?php echo $key->description; ?>" name="form_desc_e" class="form-control">
						</div>
					</div> 
					<div class="form-group"> 
						<label class="col-lg-4 control-label">Program Type</label>
						<div class="col-lg-5">
							<input readonly type="text" value="<?php echo $key->program_type; ?>" class="form-control">
						</div> 
					</div>
					<div class="form-group"> 
						<label class="col-lg-4 control-label">Module</label>
						<div class="col-lg-5">
							<input readonly type="text" value="<?php echo $key->module_name; ?>" class="form-control">
						</div> 
					</div> 
					<div class="form-group"> 
						<label class="col-lg-4 control-label">Module Menu</label>
						<div class="col-lg-5">
							<input readonly type="text" value="<?php echo $key->menu_name; ?>" class="form-control">
						</div> 
					</div> 
					<div class="form-group" id="exe-file-edit"> 
						<label class="col-lg-4 control-label">Executable Filename</label>
						<div class="col-lg-5">
							<input readonly type="text" value="<?php echo $key->exe_file_name; ?>" class="form-control">
						</div>
					</div>
					<div class="form-group">
						<label class="col-lg-4 control-label">Enable</label>
						<div class="col-lg-1">
							<input disabled <?php echo ($key->enable_flag == 'Y' ? 'checked' : '' ); ?> type="checkbox" class="i-checks" value="ok" name="form_enabler_e"> 
						</div>
					</div>
					</form>
				</div>
			</div>
		</div>
	</div>
<?php endforeach; ?>
<script type="text/javascript">
	$(document).ready(function() {
		$('.i-checks').iCheck({
	        checkboxClass: 'icheckbox_square-green',
	        radioClass: 'iradio_square-green'
	    });
	});
</script>